package com.hulk.ratel.persistence.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.hulk.ratel.persistence.entity.SuperEntity;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author hulk
 * @since 2018-12-13
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("t_errcode_convert")
public class ErrcodeConvert extends SuperEntity {

    private static final long serialVersionUID = 1L;

    @TableField("org_code")
    private String orgCode;

    @TableField("org_resp_code")
    private String orgRespCode;

    @TableField("org_resp_desc")
    private String orgRespDesc;

    @TableField("resp_code")
    private String respCode;

    @TableField("resp_desc")
    private String respDesc;

    /**
     * Y-成功标志
            N-失败标志
            
     */
    @TableField("err_flag")
    private String errFlag;

    /**
     * Y-启用
            N-关闭
     */
    @TableField("use_flag")
    private String useFlag;

    @TableField("created_by")
    private String createdBy;

    @TableField("created_time")
    private LocalDate createdTime;

    @TableField("updated_by")
    private String updatedBy;



    @TableField("ori_id")
    private String oriId;



    @TableField("rsv1")
    private String rsv1;

    @TableField("rsv2")
    private String rsv2;

    @TableField("rsv3")
    private String rsv3;


    public static final String ORG_CODE = "org_code";

    public static final String ORG_RESP_CODE = "org_resp_code";

    public static final String ORG_RESP_DESC = "org_resp_desc";

    public static final String RESP_CODE = "resp_code";

    public static final String RESP_DESC = "resp_desc";

    public static final String ERR_FLAG = "err_flag";

    public static final String USE_FLAG = "use_flag";

    public static final String CREATED_BY = "created_by";

    public static final String CREATED_TIME = "created_time";

    public static final String UPDATED_BY = "updated_by";

    public static final String UPDATED_TIME = "updated_time";

    public static final String ORI_ID = "ori_id";

    public static final String TENANT_ID = "tenant_id";

    public static final String LOCK_VERSION = "lock_version";

    public static final String RSV1 = "rsv1";

    public static final String RSV2 = "rsv2";

    public static final String RSV3 = "rsv3";

}
